#include "ros/ros.h"
#include "learning_communication/num.h"

void chatterCallback(const learning_communication::num::ConstPtr& msg)
{
  ROS_INFO("I heard: [%s]", msg->head.c_str());
}

int main(int argc, char **argv)
{
  ros::init(argc, argv, "my_listener");
  ros::NodeHandle n;
  ros::Subscriber sub = n.subscribe("my_chatter", 1000, chatterCallback);
  ros::spin();

  return 0;
}